package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电子文件对象 b_e_file_af
 *
 * @author guangpipi
 * @date 2023-09-21
 */
public class BFile_af extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键,自动生成 */
    private String id;

    /** 外键，电子档案案卷表 */
    @Excel(name = "外键，电子档案案卷表")
    private String eaid;

    /** 外键，案卷级档案表，实体档案室按照实体档案进行重新组卷时生成 */
    @Excel(name = "外键，案卷级档案表，实体档案室按照实体档案进行重新组卷时生成")
    private String aid;

    /** 文件名，数字化部输入 */
    @Excel(name = "文件名，数字化部输入")
    private String wenJianName;

    /** 文件数，数字化部输入，案卷包含的文件个数 */
    @Excel(name = "文件数，数字化部输入，案卷包含的文件个数")
    private Long pageShu;

    /** 文件目录，文件存入服务器自动生成 */
    @Excel(name = "文件目录，文件存入服务器自动生成")
    private String fileDirectory;

    /** 状态值 0：表示未被绑定  1：表示已被绑定 */
    @Excel(name = "状态值 0：表示未被绑定  1：表示已被绑定")
    private Long state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setEaid(String eaid)
    {
        this.eaid = eaid;
    }

    public String getEaid()
    {
        return eaid;
    }
    public void setAid(String aid)
    {
        this.aid = aid;
    }

    public String getAid()
    {
        return aid;
    }
    public void setWenJianName(String wenJianName)
    {
        this.wenJianName = wenJianName;
    }

    public String getWenJianName()
    {
        return wenJianName;
    }
    public void setPageShu(Long pageShu)
    {
        this.pageShu = pageShu;
    }

    public Long getPageShu()
    {
        return pageShu;
    }
    public void setFileDirectory(String fileDirectory)
    {
        this.fileDirectory = fileDirectory;
    }

    public String getFileDirectory()
    {
        return fileDirectory;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("eaid", getEaid())
                .append("aid", getAid())
                .append("wenJianName", getWenJianName())
                .append("pageShu", getPageShu())
                .append("fileDirectory", getFileDirectory())
                .append("state", getState())
                .append("creationTime", getCreationTime())
                .toString();
    }
}
